
build_dir=`pwd`/_build
rm -rf $build_dir
install_dir=$build_dir/_install

mkdir -p $build_dir

set -e
cd $build_dir
cmake .. -DCMAKE_INSTALL_PREFIX=$install_dir -DCMAKE_VERBOSE_MAKEFILE=on
make
# make install
